package cn.yunhe.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/5/22.
 */
public class Prof implements Serializable {
    private int prod_id;
    private String prod_name;
    private Dept dept;

    public Prof() {
    }

    public Prof(Dept dept, int prod_id, String prod_name) {
        this.dept = dept;
        this.prod_id = prod_id;
        this.prod_name = prod_name;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public int getProd_id() {
        return prod_id;
    }

    public void setProd_id(int prod_id) {
        this.prod_id = prod_id;
    }

    public String getProd_name() {
        return prod_name;
    }

    public void setProd_name(String prod_name) {
        this.prod_name = prod_name;
    }

    @Override
    public String toString() {
        return "Prof{" +
                "dept=" + dept +
                ", prod_id=" + prod_id +
                ", prod_name='" + prod_name + '\'' +
                '}';
    }
}
